package com.twu.biblioteca.menuoption;

import com.twu.biblioteca.BibliotecaMenu;

/**
 * Created by mduemcke on 9/23/14.
 */
public class Quit extends MenuOptionAbstract {

    private BibliotecaMenu menu;

    public Quit(BibliotecaMenu menu) {
        super("Quit", 'Q');
        this.menu = menu;
    }

    public void processOption() {
        menu.quitAtNextPossibility();
    }
}
